{% assign education = data.education %}
{% if education and education.display %}
<section class="educations">
    <div class="section-title">
        {{ education.title }}
    </div>

    <div class="section-content">
        {% for graduation in education.items %}
        <div class="item">

            <div class="upper-row">
                <div class="university">{{ graduation.university }}</div>
                <div class="time">{{ graduation.time }}</div>
            </div>

            <div class="upper-row">
                <div class="major">{{ graduation.major }}</div>
                <div class="degree"><i class="fas fa-graduation-cap"></i> {{ graduation.degree }}</div>
            </div>

            {% if graduation.details %}
            <div class="details">
                <div class="markdown">
                    {{ graduation.details | markdownify }}
                </div>
            </div>
            {% endif %}

        </div>
        {% endfor %}
    </div>
</section>
{% endif %}
